package com.bawei.mall.search.mapper;

import com.bawei.mall.search.domain.HotWord;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Author：sxq
 * @Package：com.bawei.mall.search.mapper
 * @Project：mall_cloud
 * @name：KeyWordSearchMapper
 * @Date：2024/6/25 20:14
 */
@Mapper
public interface KeyWordSearchMapper {

    List<String> byKeyWords();

    Integer addKeyWords( HotWord keyWords);

    void updKeyWords(@Param("hotword") String hotword);

}
